package com.cleaningcloud.file.service;

import com.cleaningcloud.file.utils.OssUtil;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;
@Primary
@Service
public class AliyunOssServiceImpl implements ISysFileService{



    @Override
    public String uploadFile(MultipartFile file) throws Exception {
        return OssUtil.uploadMultipartFile(file);
    }
}
